#include "pkgkeels_windows_ffi.h"

#include "pkgkeels_windows.h"
#import <Foundation/Foundation.h>

const char* FfiBar() {
    @autoreleasepool {
        NSString *result = [pkgkeels_windows bar];
        return strdup([result UTF8String]);
    }
}

const char* FfiBaz() {
    @autoreleasepool {
        NSString *result = [pkgkeels_windows baz];
        return strdup([result UTF8String]);
    }
}

void FfiFreeString(const char* str) {
    free((void*)str);
}